package com.czmh.etc.onlinepubsys.request.cmg;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * Copyright (C), 2023
 *
 * @Author: lyk
 * Date: 2023/07/06
 * FileName: NewIssueActiveRequest
 * Description:
 */
@ApiModel("招商局-预录入发行激活信息接口-对接请求对象")
@Data
public class NewIssueActiveRequest {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("用户ID")
    @JSONField(serialize = false)
    private String userId; //用户ID

    @ApiModelProperty("订单id")
    @JSONField(serialize = false)
    private String orderId; //订单id

    @ApiModelProperty(notes = "业务流水号,SPI合作服务商定义业务流水号,规则:渠道号+渠道方唯一编码", required = true)
    private String businessFlowNo;

    @ApiModelProperty(notes = "业务类型1、新办卡签2、换卡换签 3、重写卡签4、脱落激活")
    private Integer bussType;

    @ApiModelProperty(notes = "授权访问平台终端渠道编号,招商畅行卡微信小程序:5713498500")
    private String toAuthAccessNo;

    @ApiModelProperty(notes = "跳转招商平台客户端id，获取招商公众服务平台访问令牌接口中获取")
    private String toClientKey;

    @ApiModelProperty(notes = "车牌号")
    private String vehiclePlate;

    @ApiModelProperty(notes = "车牌颜色")
    private Integer vehiclePlateColor;

    @ApiModelProperty(notes = "时间戳", hidden = true)
    private Long time;

    @ApiModelProperty(notes = "是否允许用户在招商平台应用修改vehiclePlate、vehiclePlateColor、bussType,0-不允许 1-允许,设置不允许时，招商平台应用此次业务流程将限制用户修改, 默认允许修改,示例值(1)")
    private Integer isLimitModifyKey;

    @ApiModelProperty(notes = "车头45度照片，图片使用Base64编码字符串，大小不超过400k(不包含图片头，如data:image/jpg;base64)")
    private String picData;

    @ApiModelProperty(notes = "车头照片，图片使用Base64编码字符串，大小不超过400k(不包含图片头，如data:image/jpg;base64)")
    private String picData2;
}
